<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>新增详细页</title>
<!---引入jquery资源--->
<script type="text/javascript"
	src="${basePath }static/bootstrap-3.3.7-dist/js/jquery.min.js"></script>
<!--引入bootstrap的核心js资源文件--->
<script type="text/javascript"
	src="${basePath }static/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<!--引入bootstrap的核心css资源文件--->
<link rel="stylesheet" type="text/css"
	href="${basePath }static/bootstrap-3.3.7-dist/css/bootstrap.min.css" />
</head>
<body>
<div class="bs-example" data-example-id="hoverable-table">
		<table class="table table-hover">
		
			<thead>
			
				<tr>
					<th>序号</th>
					<th>姓名</th>
					<th>性别</th>
					<th>年龄</th>
					<th>电话</th>
					<th>邮箱</th>
					<th>创建时间</th>
					<th>头像</th>
				</tr>
			</thead>
			<tbody>
				<!-- 外层循环，控制行数 -->
				<c:forEach items="${lstAdmins}" var="ev" varStatus="st">
					<!-- 一个tr就是一行数据 -->
					<tr>
						<th>${st.index+1 }</th>
						<td>${ev.adminname2 }</td>
						<td>${ev.amdinsex }</td>
						<td>${ev.amdinage }</td>
						<td>${ev.admintel }</td>
						<td>${ev.adminemail }</td>
						<td><fmt:formatDate value="${ev.admincreatetime }" pattern="yyyy-MM-dd HH:mm:ss"/> </td>
						<td><img src="${basePath }${ev.adminimg }" style="heigth:40px;width:40px"></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</div>
</body>
</html>